package com.topfinance.cnaps2.dto;

import java.io.Serializable;
import java.util.Date;

import com.topfinance.frame.util.StringUtil;

public class SysUserExDto implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 100555122112509875L;

	//ID	主键	integer
	private Integer ID;

	private Integer oID;
	//name	名称	varchar2(100)
	private String name;

	//loginname	名称	varchar2(100)
	private String loginname;

	//password	密码	varchar2(30)
	private String password;

	//phone	电话	varchar2(30)
	private String phone;

	//cell	手机	varchar2(30)
	private String cell;

	//email	邮件	varchar2(30)
	private String email;

	//Desc	备注	varchar2(256)
	private String desc;

	//createDate	创建时间	TIMEStamp
	private Date createDate;

	public SysUserExDto() {
		super();
	}
	
	public SysUserExDto(Integer id, Integer oid, String name, String loginname, String password, String phone, String cell, String email, String desc) {
		super();
		oID = oid;
		ID = id;
		this.name = name;
		this.loginname = loginname;
		this.password = password;
		this.phone = phone;
		this.cell = cell;
		this.email = email;
		this.desc = desc;
	}

	public Integer getOID() {
		return oID;
	}

	public void setOID(Integer oid) {
		oID = oid;
	}

	public String getCell() {
		return StringUtil.convertStr(cell);
	}

	public void setCell(String cell) {
		this.cell = cell;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getDesc() {
		return StringUtil.convertStr(desc);
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getEmail() {
		return StringUtil.convertStr(email);
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getID() {
		return ID;
	}

	public void setID(Integer id) {
		ID = id;
	}

	public String getLoginname() {
		return StringUtil.convertStr(loginname);
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public String getName() {
		return StringUtil.convertStr(name);
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return StringUtil.convertStr(password);
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {
		return StringUtil.convertStr(phone);
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
}
